package com.ruoyi.question.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 目录表 sys_folder
 * 
 * @author ruoyi
 * @date 2019-10-11
 */
public class Folder extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 目录id */
	private Long id;
	/** 父ID */
	private Long parentId;
	/** 组级列表 */
	private String ancestors;
	/** 中文名 */
	private String folderName;
	/** URL KEY */
	private String folderKey;
	/** 模板路径 */
	private String path;
	/** 描述 */
	private String content;
	/** 排序 */
	private Integer sort;
	/** 状态//radio/2,隐藏,1,显示 */
	private Integer status;
	/** 类型 1 普通目录 2 a标签 3 a标签_blank 4 直接加载url信息 */
	private Integer type;
	/** 跳转地址 */
	private String jumpUrl;
	/** 素材类型 */
	private Integer materialType;
	/** 站点ID */
	private Integer siteId;
	/** SEO title */
	private String seoTitle;
	/** SEO keywords */
	private String seoKeywords;
	/** SEO description */
	private String seoDescription;
	/** 更新人 */
	private Integer updateId;
	/** 创建者 */
	private Integer createId;
	/** 父部门名称 */
	private String parentName;
	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setParentId(Long parentId) 
	{
		this.parentId = parentId;
	}

	public Long getParentId() 
	{
		return parentId;
	}
	public void setAncestors(String ancestors) 
	{
		this.ancestors = ancestors;
	}

	public String getAncestors() 
	{
		return ancestors;
	}
	public void setFolderName(String folderName) 
	{
		this.folderName = folderName;
	}

	public String getFolderName() 
	{
		return folderName;
	}
	public void setFolderKey(String folderKey) 
	{
		this.folderKey = folderKey;
	}

	public String getFolderKey() 
	{
		return folderKey;
	}
	public void setPath(String path) 
	{
		this.path = path;
	}

	public String getPath() 
	{
		return path;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}

	public Integer getSort() 
	{
		return sort;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setType(Integer type) 
	{
		this.type = type;
	}

	public Integer getType() 
	{
		return type;
	}
	public void setJumpUrl(String jumpUrl) 
	{
		this.jumpUrl = jumpUrl;
	}

	public String getJumpUrl() 
	{
		return jumpUrl;
	}
	public void setMaterialType(Integer materialType) 
	{
		this.materialType = materialType;
	}

	public Integer getMaterialType() 
	{
		return materialType;
	}
	public void setSiteId(Integer siteId) 
	{
		this.siteId = siteId;
	}

	public Integer getSiteId() 
	{
		return siteId;
	}
	public void setSeoTitle(String seoTitle) 
	{
		this.seoTitle = seoTitle;
	}

	public String getSeoTitle() 
	{
		return seoTitle;
	}
	public void setSeoKeywords(String seoKeywords) 
	{
		this.seoKeywords = seoKeywords;
	}

	public String getSeoKeywords() 
	{
		return seoKeywords;
	}
	public void setSeoDescription(String seoDescription) 
	{
		this.seoDescription = seoDescription;
	}

	public String getSeoDescription() 
	{
		return seoDescription;
	}
	public void setUpdateId(Integer updateId) 
	{
		this.updateId = updateId;
	}

	public Integer getUpdateId() 
	{
		return updateId;
	}
	public void setCreateId(Integer createId) 
	{
		this.createId = createId;
	}

	public Integer getCreateId() 
	{
		return createId;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("ancestors", getAncestors())
            .append("folderName", getFolderName())
            .append("folderKey", getFolderKey())
            .append("path", getPath())
            .append("content", getContent())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("type", getType())
            .append("jumpUrl", getJumpUrl())
            .append("materialType", getMaterialType())
            .append("siteId", getSiteId())
            .append("seoTitle", getSeoTitle())
            .append("seoKeywords", getSeoKeywords())
            .append("seoDescription", getSeoDescription())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .toString();
    }
}
